package com.teaching.teachingsupport.service.service2.teacherservice;

import com.teaching.teachingsupport.common.pojo.dto.request.NotificationPublishRequest;
import com.teaching.teachingsupport.common.pojo.dataobject.Notification;

import java.util.List;

public interface NotificationScopeService {
    /**
     * 发布新通知（包含通知内容和发布范围）
     */
    Notification publishNotification(NotificationPublishRequest request);

    /**
     * 获取用户可见的通知列表
     */
    List<Notification> getVisibleNotifications(Long userId);

    /**
     * 删除通知的发布范围
     */
    void deleteByNotificationId(Long notificationId);
} 